<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
 
    var arr6 = new Array();
    arr6[0] = 'NIKE背包';
    arr6[1] = 'Adidas运动衫';
    arr6[2] = '李宁运动鞋';
    arr6[3] = 'Kappa外套';
    arr6[4] = '361度腰包';
    document.write('<h1>商场商品做出改变后，本次打折的商品有:</h1>');
    arr6.splice(0,1);
    arr6.push("Adidas运动裤");
    arr6.splice(1,1,"特步运动鞋");
    for(var i = 0; i < arr6.length; i++){
        console.log (arr6[i]);
    }
 
</script>
</html>